//
//  CarMainModel.h
//  LogisticsSupplier
//
//  Created by 吕晶 on 2020/8/6.
//  Copyright © 2020 吕晶. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger,CarStatus) {
    CarStatusEmpty     =  1,//空置
    CarStatusHalf          ,//半载
    CarStatusFull          ,//满载
    CarStatusNoUse          //禁用
};

typedef NS_ENUM(NSInteger,CarUseStatus) {
    CarUseStatusCanUse     =  1,//启用
    CarUseStatusNoUse           //禁用
};

@interface CarMainModel : NSObject

@property (nonatomic, copy) NSString *vehicle_id;//车辆id
@property (nonatomic, copy) NSString *num;//车牌号
@property (nonatomic, copy) NSString *name;//默认司机
@property (nonatomic, copy) NSString *phone;//司机手机号
@property (nonatomic, copy) NSString *car_type;//车辆种类
@property (nonatomic, copy) NSString *car_info;//车辆类型
@property (nonatomic, assign) float max_weight;//最大装载重量
@property (nonatomic, assign) float max_volume;//最大装载体积

@property (nonatomic, copy) NSString *tpls;//可供调用的3pl

@property (nonatomic, copy) NSString *jiaShiZhengNO;//驾驶证号
@property (nonatomic, copy) NSString *xingShiZhengNO;//行驶证号
@property (nonatomic, copy) NSString *shangPaiTime;//初次上牌时间
@property (nonatomic, copy) NSString *madeCompany;//制造商
@property (nonatomic, copy) NSString *GPS;//GPS
@property (nonatomic, copy) NSString *color;//颜色
@property (nonatomic, copy) NSString *remark;//备注

@property (nonatomic, assign) CarStatus status;//车辆状态
@property (nonatomic, assign) CarUseStatus sys_status;//车辆状态

@property (nonatomic, assign) BOOL isSelected;

@end

NS_ASSUME_NONNULL_END
